<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="tag" uri="surveyonline-taglib" %> 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
<head>
    <title><tag:languageTag id="title"/></title>
	<%@ include file="/layout/head.tag" %>
	
</head>
<body>

<div id="global">
	<div id="entete">
		<%@ include file="/layout/menu.tag" %>
	</div>
	<div id="contenu">
		<h2><tag:languageTag id="sondage_title"/></h2>
		<form action="/surveyonline" method="post">
			<ul>
				<tag:Survey />
			</ul>
			<p class="submit">
				<input type="submit" value="<tag:languageTag id="sondage_next"/>" />
			</p>
		</form>
	</div>
	<div id="pied">
		<%@ include file="/layout/pied.tag" %>
	</div>
</div>

<% 
if (request.getAttribute("message") != null) {
	out.println("<script type=\"text/javascript\">");
	/*
	out.print("Ext.Msg.alert('Message d\'erreur','");*/
	out.print("alert(\"");
	out.print(request.getAttribute("message"));
	out.println("\");");
	out.println("</script>");
}
%>
</body>
</html>